package cn.com.stary1993.kite.captcha.support.behavior;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 处理日期数据格式
 *
 * @author stary1993
 */
@Data
public class BehaviorImageCaptchaTrack extends cloud.tianai.captcha.validator.common.model.dto.ImageCaptchaTrack
        implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer bgImageWidth;

    private Integer bgImageHeight;

    private Integer sliderImageWidth;

    private Integer sliderImageHeight;

    private List<Track> trackList;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
    private Date startSlidingTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
    private Date endSlidingTime;

}
